package com.itclass.auth.service.impl;






import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itclass.auth.pojo.db.SysMenu;
import  com.itclass.auth.mapper.SysMenuMapper;
import com.itclass.auth.pojo.dto.MenuRoleDTO;
import com.itclass.auth.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {

    @Autowired
    private SysMenuMapper sysMenuMapper;
    @Override
    public List<MenuRoleDTO> queryMenuAll() {
        return sysMenuMapper.queryMenuAll();
    }
}